package com.sc.nft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.vo.PointsApplyExchangeRecordsDetailsVO;
import com.sc.nft.entity.vo.PointsApplyExchangeRecordsPageVO;
import com.sc.nft.enums.PointsExchangeCollectionConsumeTypeEnum;
import com.sc.nft.enums.PointsExchangeCollectionStatusEnum;
import com.sc.nft.sup.Result;

import java.util.Date;

public interface DaoEcologyPointsApplyExchangeRecordsService {
    /**
     * 列表
     * @param daoId
     * @param applyStatus
     * @param collectionId
     * @param startTime
     * @param endTime
     * @param mp
     * @return
     */
    IPage<PointsApplyExchangeRecordsPageVO> page(Long daoId, PointsExchangeCollectionStatusEnum applyStatus, Long collectionId, Date startTime, Date endTime, Page mp, PointsExchangeCollectionConsumeTypeEnum consumeType);

    /**
     * 审核
     * @param id
     */
    Result audit(Long id,String remark,PointsExchangeCollectionStatusEnum auditStatus);


    /**
     * 审核详情
     * @param id
     * @return
     */
    PointsApplyExchangeRecordsDetailsVO details(Long id);

}
